<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>产品分页界面</title>
<s:include value="/WEB-INF/pages/common/reference.jsp" />
<bees:table-import />
<bees:paging-import />
<bees:operation-import />
</head>
<body>
	<center>
		<div id="container">
			<s:form action="paging" namespace="/backstage/furnish/product">
				<div id="top" style="width:100%;height:36px;background-color:#EAF2FE;border-bottom:1px solid #BED5F3;position:fixed;top:0px;left:0px;">
					<bees:operation id="operation" style="margin-top:5px;float:left;" 
						create="${fun:url('/backstage/furnish/product','edit','ui','') }" 
						modify="${fun:url('/backstage/furnish/product','edit','ui','') }" 
						remove="${fun:url('/backstage/furnish/product','edit','remove','') }" 
						screen="${fun:url('/backstage/furnish/product','paging','','') }"
						key="product"
					/>
					<bees:paging id="paging" style="margin-top:5px;float:right;" 
						capacity="${page.capacity }" 
						total="${page.total }" 
						condition="${page.condition }"
						current="${page.current }" 
					/>
				</div>
				<div id="center" style="width:100%;height:auto;margin-top:36px;float:left;">
					<bees:table id="list" clazz="domain-table" style="width:100%;height:100%;"
						columns="[
							{name:'选中',property:'id',width:'5%',renderer:{type:'checkbox',name:'ids'}},
							{name:'名称',property:'name',width:'10%'},
							{name:'所属类别',property:'kind.name',width:'10%'},
							{name:'型号',property:'model',width:'10%'},
							{name:'尺寸',property:'magnitude',width:'10%'},
							{name:'颜色',property:'color',width:'10%'},
							{name:'重量',property:'weight',width:'10%'},
							{name:'材质',property:'material',width:'10%'},
							{name:'成色',property:'fineness',width:'10%'},
							{name:'操作',property:'id',width:'10%',renderer:{type:'operate',gap:'',links:[
								{text:'删除',action:'${fun:url('/backstage/furnish/product','edit','remove','') }',name:'ids',property:'id'}
							]}}
						]"
						order="${page.order }"
						by="${page.by }"
						domains="${page.domains }" 
					/>
				</div>
			</s:form>
		</div>
	</center>
</body>
</html>